#ifndef __tile_H__
#define __tile_H__

#include <coordinate.h>
#include <sensor.h>

class Tile {

	bool flgWall, flgSensor, flgImportant;
	int beams;
	Sensor sensor;

public:
	Tile();

	const int getBeams() const;
	const Sensor getSensor() const;
	const bool hasSensor() const;
	const bool isWall() const;
	const bool isImportant() const;
	const bool isCovered() const;
	const bool isAvailable() const;

	void setSensor(const Sensor sensor);
	void setWall();
	void setImportant();
	void setBeams(const int beams);
	void clearSensor();
};

#endif /* __tile_H__ */